<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Model.Queries" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Model.Queries" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:19333/Policy.svc?xsd=xsd2" namespace="http://schemas.datacontract.org/2004/07/Lib.Query" />
  <xs:complexType name="PolicyQuery">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/Lib.Query" base="q1:LiteQueryOfPolicyYgFqSxnr">
        <xs:sequence>
          <xs:element name="_id" type="xs:int" />
          <xs:element name="_number" type="xs:long" />
          <xs:element name="_personId" type="xs:int" />
          <xs:element name="_personName" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PolicyQuery" nillable="true" type="tns:PolicyQuery" />
  <xs:complexType name="MotorPolicyQuery">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:PolicyQuery">
        <xs:sequence>
          <xs:element name="_plateNo" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MotorPolicyQuery" nillable="true" type="tns:MotorPolicyQuery" />
</xs:schema>